-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deployment to crates.io #610
Conversation
Add .so and .a compilations artifacts for the library.
Add these fields in the Cargo.toml file, they will be published on crates.io
7a7b364
to
9d782b2
Compare
Replace them with 'Stm' for clarity.
6928392
to
721c55a
Compare
721c55a
to
66d583b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 👍
- name: Cargo publish dry run | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: publish | ||
args: -p mithril-stm --dry-run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we running two times with --dry-run
? With and without the token?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will remove the second --dry-run
once we have a working CRATES_IO_API_TOKEN
(we keep the dry-run to prevent the workflow from failing at this last step) 👍
# ToDo list once we go public | ||
- [ ] Upload mithril-core to crates.io | ||
- [ ] Ensure that the badges are working | ||
- [ ] Update links for crates and docs | ||
- [ ] Error handling |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for removing this 👍
Content
This PR implements the deployment of
mithril-stm
library tocrates.io
:mithril-stm
crates.io
packaging and publishing in the Release workflowPre-submit checklist
Authors
@Alenar
@jpraynaud
Issue(s)
Closes #588 / Relates to #500